/**
 * Copyright (c) 2016-2019 九点科技 All rights reserved.
 *
 * https://www.9dyun.cn
 *
 * 版权所有，侵权必究！
 */

package com.dian.modules.oss.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dian.common.utils.PageUtils;
import com.dian.modules.oss.entity.SysOssEntity;
import org.springframework.web.multipart.MultipartFile;
import java.io.IOException;
import java.util.Map;


/**
 * 文件上传
 *
* @author  xiaolai@9dyun.cn
 */
public interface SysOssService extends IService<SysOssEntity> {

	PageUtils queryPage(Map<String, Object> params);

	/**
	 * 文件上传
	 * @param file
	 * @return
	 */
	String  upload(MultipartFile file) throws IOException;
}
